package com.xishu.bo.response;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.BeanUtils;

import java.io.Serializable;

public class Report implements Serializable {
    private static final long serialVersionUID = 1777798679034472405L;

    @ApiModelProperty(value = "横坐标的值")
    private String x;

    @ApiModelProperty(value = "横坐标的时间个数，用于计算横坐标")
    private Double xTime;

    @ApiModelProperty(value = "y轴对应显示的名称")
    private String y;

    @ApiModelProperty(value = "y轴对应显示的中文名称")
    private String y_zh;

    @ApiModelProperty(value = "y轴对应显示的英文名称")
    private String y_en;

    @ApiModelProperty(value = "值")
    private Double value;

    @ApiModelProperty(value = "临时ID,前端不用关心")
    private Long tmpId;

    @ApiModelProperty(value = "临时ID,前端不用关心")
    private Long orderType;

    @ApiModelProperty(value = "临时ID,前端不用关心")
    private Long payType;

    @ApiModelProperty(value = "数量，主要用在计算优惠卷的数量上，前端不用关心")
    private Long count;

    @ApiModelProperty(value = "订单编号")
    private Long orderNo;

    public Report() {
    }

    public Report clone() {
        Report report = new Report();
        BeanUtils.copyProperties(this, report);
        return report;
    }

    public String getY_zh() {
        return y_zh;
    }

    public void setY_zh(String y_zh) {
        this.y_zh = y_zh;
    }

    public String getY_en() {
        return y_en;
    }

    public void setY_en(String y_en) {
        this.y_en = y_en;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getTmpId() {
        return tmpId;
    }

    public void setTmpId(Long tmpId) {
        this.tmpId = tmpId;
    }

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }

    public Double getValue() {
        return value;
    }

    public void setValue(Double value) {
        this.value = value;
    }

    public Double getxTime() {
        return xTime;
    }

    public void setxTime(Double xTime) {
        this.xTime = xTime;
    }

    public Long getOrderType() {
        return orderType;
    }

    public void setOrderType(Long orderType) {
        this.orderType = orderType;
    }

    public Long getPayType() {
        return payType;
    }

    public void setPayType(Long payType) {
        this.payType = payType;
    }

    public Long getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }
}
